<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>

<%
	HttpSession s= request.getSession();
	String userName = "";
	if(s !=null && s.getAttribute("userName") != null){
		userName = s.getAttribute("userName").toString();
	}
%>
				<ul>
					<li><a href="/dashBoard/main">Home</a></li>
					<li ><%=userName %></li>
					<li><a href="<c:url value="j_spring_security_logout" />">Log Out</a></li>
				</ul>
							